package com.zycfc.zsf.boot.office.excel.bean;

import java.io.*;
import java.util.*;

public class ExcelParseResultModel<T> implements Serializable
{
    private static final long serialVersionUID = -7809698446851364981L;
    private List<T> dataList;
    private List<ExcelParseExceptionModel> excepList;
    
    public List<T> getDataList() {
        return this.dataList;
    }
    
    public List<ExcelParseExceptionModel> getExcepList() {
        return this.excepList;
    }
    
    public void setDataList(final List<T> dataList) {
        this.dataList = dataList;
    }
    
    public void setExcepList(final List<ExcelParseExceptionModel> excepList) {
        this.excepList = excepList;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof ExcelParseResultModel)) {
            return false;
        }
        final ExcelParseResultModel<?> other = (ExcelParseResultModel<?>)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$dataList = this.getDataList();
        final Object other$dataList = other.getDataList();
        Label_0065: {
            if (this$dataList == null) {
                if (other$dataList == null) {
                    break Label_0065;
                }
            }
            else if (this$dataList.equals(other$dataList)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$excepList = this.getExcepList();
        final Object other$excepList = other.getExcepList();
        if (this$excepList == null) {
            if (other$excepList == null) {
                return true;
            }
        }
        else if (this$excepList.equals(other$excepList)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof ExcelParseResultModel;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $dataList = this.getDataList();
        result = result * 59 + (($dataList == null) ? 43 : $dataList.hashCode());
        final Object $excepList = this.getExcepList();
        result = result * 59 + (($excepList == null) ? 43 : $excepList.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "ExcelParseResultModel(dataList=" + this.getDataList() + ", excepList=" + this.getExcepList() + ")";
    }
}
